package com.ny.wlw;

public class Test01 {
    public static void main(String[] args) {
        Car car = new Car();
        car.setMake("小米");
        car.setModel("suv");
        System.out.println(car.getMake());
        System.out.println(car.getModel());
        car.drive();

        Bike bike = new Bike();
        bike.setMake("雷克斯");
        bike.setModel("哪吒100");
        System.out.println(bike.getMake());
        System.out.println(car.getModel());
        bike.drive();
    }
}
